<!-- SearchByProviders index -->


<link href='<?php echo CSS_URL ?>page/AIC.page.SearchByProviders.css' rel='stylesheet' type='text/css' />

<script src='<?php echo JS_URL ?>page/AIC.page.SearchByProviders.js' type='text/javascript'></script>
<!--<script src='<?php echo JS_URL ?>plugin/AIC.plugin.Ajax.js' type='text/javascript'></script>-->
<script src='<?php echo JS_URL ?>_Shared/jquery.validate.js' type='text/javascript'></script>

<div class="header"><h1>Eldercare Service Locator</h1></div>

<?php include VIEW_PATH . '_Shared/search/searchNavigation.php' ?>

<br/>
<div class="module_header"><h2>Search by Service Provider</h2></div>

<form id="frmSearch" name="frmSearch" action="SearchByProviders/Search/">
	<input id="txtSearch" type="text" name="txtSearch" />
	<div id="btnSearch" name="btnSearch" > Search </div>
	<div>
		<h2>
			<?php
				for ( $ii = ord("A") ; $ii <= ord("Z") ; $ii++ )
				{
					echo "<a class='lnkAlphabeth' href='javascript:void(0)' title='" . chr($ii) . "' > " . chr($ii) . " </a>" ;
				}
				echo "<a class='lnkAlphabeth' href='javascript:void(0)' title='All' > All </a>" ;
			?>
		</h2>
	</div>
</form>

<form id="frmProviderList" name="frmProviderList" action="SearchByProviders/View/" method="POST">
	<div id="providerList" name="providerList">
		<?php 
			foreach ($providerList->result() as $row) {
				echo "<a class='lnkProvider' title='$row->pro_id' href='javascript:void(0)' > $row->pro_name </a>";
				echo "</BR>";
			}
		?>
	</div>
	<input id="hidId" name="hidId" type="hidden" value=""  />
</form>